package com.mysoft.gfyx.clue.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;

@Data
@TableName("gfyx_user")
public class NewUser {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("uid")
    private String uid;

    @TableField("account")
    private String account;

    @TableField("name")
    private String name;

    @TableField("mobile")
    private String mobile;

    @TableField("email")
    private String email;

    @TableField("position")
    private String position;

    @TableField("salt")
    private String salt;

    @TableField("password")
    private String password;

    @TableField("source")
    private Integer source;

    @TableField("status")
    private Integer status;

    @TableField("is_admin")
    private Integer isAdmin;

    @TableField("forbidden_scene")
    private Integer forbiddenScene;

    @TableField("last_set_password_time")
    private Date lastSetPasswordTime;

    @TableField("created_by")
    private String createdBy;

    @TableField("created_on")
    private Date createdOn;

    @TableField("modified_by")
    private String modifiedBy;

    @TableField("modified_on")
    private Date modifiedOn;

    @TableField("is_deleted")
    private Integer isDeleted;
}
